package com.ziyun.pop.common.e.mercharReport;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * 库存交易方向
 */
public enum DirectionEnum implements BaseEnum {
    IN(1,"增加"),
    OUT(-1,"减少");


    private Integer id;
    private String describe;

    DirectionEnum(Integer id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
